Skip to content

Update handling of missing kernel headers to better reflect warning status#2250

Draft
ddelnano wants to merge 2 commits intopixie-io:mainfrom
ddelnano:ddelnano/fix-ui-issues-with-kernel-headers-warning
Draft

Update handling of missing kernel headers to better reflect warning status#2250
ddelnano wants to merge 2 commits intopixie-io:mainfrom
ddelnano:ddelnano/fix-ui-issues-with-kernel-headers-warning

Conversation

@ddelnano
Copy link
Member

@ddelnano ddelnano commented Jul 28, 2025

Summary: Update handling of missing kernel headers to better reflect warning status

The px cli was updated to include a warning when it detected that a cluster didn't have kernel headers installed. The initial implementation reused the same UI elements that the cli included and therefore the "warning" was printed with red text prefixed with ERR: (as seen below).

error

This was harsher than intended and could cause confusion for users that otherwise have a working cluster. This PR updates the warning with yellow text and a more appropriate prefix (WARN: ) and links to documentation (added in pixie-io/px.dev#111) that provides more detail.

Relevant Issues: #2051

Type of change: /kind bugfix

Test Plan: Deployed a new vizier that failed the check and verified the text is no longer red and links to documentation

Screenshot 2025-07-28 at 8 42 33 AM

ddelnano added 2 commits July 28, 2025 15:45
…tatus

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant